/*******************************************************************************
 * Copyright (c) 2014 Francesco Gabbrielli.
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Francesco Gabbrielli - initial API and implementation
 ******************************************************************************/
package it.francescogabbrielli.android.solidalapp.home;

import com.google.android.gms.maps.model.LatLng;

import it.francescogabbrielli.android.solidalapp.requestendpoint.model.Request;
import android.support.v4.app.Fragment;

public interface HomeFragmentListener {
	
	/** Get current request */
	public Request getRequest();
	
	/** Send a new request */
	public void send(Request request);
	
	/** Send the current request with updated position */
	public void send(LatLng position);
	
	/** Open the file for the current request */
	public void openFile();
	
	/** Select tab */
	public Fragment selectTab(int position);
	
}
